{% extends 'base.html' %}

{% block content %}
    <form action="" method="post" enctype="multipart/form-data">
        <input type="file" name="avatar">
        {#            <input type="submit">#}
        <button type="submit" class="btn btn-success">上传头像</button>
    </form>
{% endblock %}